<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CUDNN Frontend API: nlohmann::detail::file_input_adapter Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CUDNN Frontend API
   &#160;<span id="projectnumber">8.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../d7/d6c/classnlohmann_1_1detail_1_1file__input__adapter-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">nlohmann::detail::file_input_adapter Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for nlohmann::detail::file_input_adapter:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d67/classnlohmann_1_1detail_1_1file__input__adapter__coll__graph.png" border="0" usemap="#nlohmann_1_1detail_1_1file__input__adapter_coll__map" alt="Collaboration graph"/></div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac853c96c60f93dc97433dacd98179f35"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html#ac853c96c60f93dc97433dacd98179f35">char_type</a> = char</td></tr>
<tr class="separator:ac853c96c60f93dc97433dacd98179f35"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aeade050f2793280503be93feff2ece5b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html#aeade050f2793280503be93feff2ece5b">file_input_adapter</a> (std::FILE *f) noexcept</td></tr>
<tr class="separator:aeade050f2793280503be93feff2ece5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a308099b496a0cba2123a06fe99a95d02"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html#a308099b496a0cba2123a06fe99a95d02">file_input_adapter</a> (const <a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a> &amp;)=delete</td></tr>
<tr class="separator:a308099b496a0cba2123a06fe99a95d02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a35c5bc8d6216ee6e4070fc4b6b0127"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html#a5a35c5bc8d6216ee6e4070fc4b6b0127">file_input_adapter</a> (<a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a> &amp;&amp;) noexcept=default</td></tr>
<tr class="separator:a5a35c5bc8d6216ee6e4070fc4b6b0127"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad59bbc7e3f23dd74475c5cb818784e42"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html#ad59bbc7e3f23dd74475c5cb818784e42">operator=</a> (const <a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a> &amp;)=delete</td></tr>
<tr class="separator:ad59bbc7e3f23dd74475c5cb818784e42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfd616c651d601a1dfc7fbdd6973f716"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html#acfd616c651d601a1dfc7fbdd6973f716">operator=</a> (<a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:acfd616c651d601a1dfc7fbdd6973f716"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6977a9d721de8181253d8431a335ba63"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html#a6977a9d721de8181253d8431a335ba63">~file_input_adapter</a> ()=default</td></tr>
<tr class="separator:a6977a9d721de8181253d8431a335ba63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a300fa4e2da1891e97eb0d85bf14cb022"><td class="memItemLeft" align="right" valign="top">std::char_traits&lt; char &gt;::int_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html#a300fa4e2da1891e97eb0d85bf14cb022">get_character</a> () noexcept</td></tr>
<tr class="separator:a300fa4e2da1891e97eb0d85bf14cb022"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a164fbe2739ac97e517e22bc1fff1c174"><td class="memItemLeft" align="right" valign="top">std::FILE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html#a164fbe2739ac97e517e22bc1fff1c174">m_file</a></td></tr>
<tr class="memdesc:a164fbe2739ac97e517e22bc1fff1c174"><td class="mdescLeft">&#160;</td><td class="mdescRight">the file pointer to read from  <a href="#a164fbe2739ac97e517e22bc1fff1c174">More...</a><br /></td></tr>
<tr class="separator:a164fbe2739ac97e517e22bc1fff1c174"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Input adapter for stdio file access. This adapter read only 1 byte and do not use any buffer. This adapter is a very low level adapter. </p>

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05260">5260</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="ac853c96c60f93dc97433dacd98179f35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac853c96c60f93dc97433dacd98179f35">&#9670;&nbsp;</a></span>char_type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html#ac853c96c60f93dc97433dacd98179f35">nlohmann::detail::file_input_adapter::char_type</a> =  char</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05263">5263</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aeade050f2793280503be93feff2ece5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeade050f2793280503be93feff2ece5b">&#9670;&nbsp;</a></span>file_input_adapter() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">nlohmann::detail::file_input_adapter::file_input_adapter </td>
          <td>(</td>
          <td class="paramtype">std::FILE *&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05266">5266</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="a308099b496a0cba2123a06fe99a95d02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a308099b496a0cba2123a06fe99a95d02">&#9670;&nbsp;</a></span>file_input_adapter() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">nlohmann::detail::file_input_adapter::file_input_adapter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a5a35c5bc8d6216ee6e4070fc4b6b0127"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a35c5bc8d6216ee6e4070fc4b6b0127">&#9670;&nbsp;</a></span>file_input_adapter() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">nlohmann::detail::file_input_adapter::file_input_adapter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6977a9d721de8181253d8431a335ba63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6977a9d721de8181253d8431a335ba63">&#9670;&nbsp;</a></span>~file_input_adapter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">nlohmann::detail::file_input_adapter::~file_input_adapter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a300fa4e2da1891e97eb0d85bf14cb022"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a300fa4e2da1891e97eb0d85bf14cb022">&#9670;&nbsp;</a></span>get_character()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::char_traits&lt;char&gt;::int_type nlohmann::detail::file_input_adapter::get_character </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05277">5277</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="ad59bbc7e3f23dd74475c5cb818784e42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad59bbc7e3f23dd74475c5cb818784e42">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a>&amp; nlohmann::detail::file_input_adapter::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="acfd616c651d601a1dfc7fbdd6973f716"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfd616c651d601a1dfc7fbdd6973f716">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a>&amp; nlohmann::detail::file_input_adapter::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a164fbe2739ac97e517e22bc1fff1c174"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a164fbe2739ac97e517e22bc1fff1c174">&#9670;&nbsp;</a></span>m_file</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::FILE* nlohmann::detail::file_input_adapter::m_file</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>the file pointer to read from </p>

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05284">5284</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d3/d9b/namespacenlohmann.html">nlohmann</a></li><li class="navelem"><a class="el" href="../../dc/df0/namespacenlohmann_1_1detail.html">detail</a></li><li class="navelem"><a class="el" href="../../da/d14/classnlohmann_1_1detail_1_1file__input__adapter.html">file_input_adapter</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
